<?php /* Smarty version 2.6.19, created on 2010-10-26 15:08:00
         compiled from web_home.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'showcpic', 'web_home.html', 50, false),array('modifier', 'cutstr', 'web_home.html', 56, false),array('modifier', 'showpic', 'web_home.html', 111, false),array('modifier', 'urlpro', 'web_home.html', 138, false),array('modifier', 'getcolorw', 'web_home.html', 141, false),array('modifier', 'number_format', 'web_home.html', 241, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $this->_tpl_vars['gs']['companyname']; ?>
</title>
<link href="skins/stlye/globle.css" rel="stylesheet" type="text/css" />
<link href="skins/stlye/link.css" rel="stylesheet" type="text/css" />
<link href="skins/stlye/footer.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery-1.4.1.js"></script>
<script type="text/javascript" src="js/jquery.autocomplete.js"></script>
<link rel="stylesheet" type="text/css" href="js/jquery.autocomplete.css" />
<script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript">

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
</head>

<body onload="
MM_preloadImages('skins/stlye/images/candan_04.jpg','skins/stlye/images/candan_05.jpg','skins/stlye/images/candan1_06.jpg','skins/stlye/images/candan1_07.jpg','skins/stlye/images/candan1_08.jpg','skins/stlye/images/candan1_09.jpg','skins/stlye/images/candan1_10.jpg','skins/stlye/images/candan1_11.jpg','skins/stlye/images/candan1_12.jpg','skins/stlye/images/candan1_13.jpg')">
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "top_inc.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'web_daohang.html', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<table width="1004" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:3px; " >
  <tr>
    <td width="220" rowspan="3" align="left" valign="top" style="border:solid 1px #CCC;"><table width="100%" border="0" cellspacing="0" cellpadding="0"  > 
      <tr>
        <td background="skins/stlye/images/bdsjtp_03.jpg" height="27" style="font-size:14px; font-weight:bold; padding-left:10px;">社长致辞</td>
      </tr>
      <tr>
        <td align="center" valign="top" style=" padding-top:5px;" ><img src="uploadfile/company/<?php echo ((is_array($_tmp=$this->_tpl_vars['gs']['pic2'])) ? $this->_run_mod_handler('showcpic', true, $_tmp) : smarty_modifier_showcpic($_tmp)); ?>
" width="181" height="142"  style="border:solid 1px #CCC;"/></td>
      </tr>
      <tr>
        <td align="left" valign="top" style="text-indent:0px; padding:0 2px;">
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td style="text-indent:23px;"><?php echo ((is_array($_tmp=$this->_tpl_vars['gs']['a2'])) ? $this->_run_mod_handler('cutstr', true, $_tmp, 66, '..') : smarty_modifier_cutstr($_tmp, 66, '..')); ?>
 </td>
            </tr>
            <tr>
              <td align="right">&nbsp;<a href="#" style="color:#F00;">更多&gt;&gt;</a></td>
            </tr>
          </table></td>
      </tr>
    </table></td>
    
    <td width="3" align="left" valign="top"></td>
    <td width="552" align="left" valign="top" style="border:solid 1px #CCC;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td colspan="2" align="center" style="font-size:14px; font-weight:bold; color: #0d8dd4;"><?php echo $this->_tpl_vars['gs']['companyname']; ?>
简介</td>
      </tr>
      <tr>
        <td width="23%" align="right" valign="top"><img src="uploadfile/company/<?php echo ((is_array($_tmp=$this->_tpl_vars['gs']['pic1'])) ? $this->_run_mod_handler('showcpic', true, $_tmp) : smarty_modifier_showcpic($_tmp)); ?>
" width="107" height="117" style="border:solid 1px #CCC; padding:3px;" /></td>
        <td width="77%" valign="top" ><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="120" valign="top" style="text-indent:23px; line-height:1.8em; padding:0 5px;"> <?php echo ((is_array($_tmp=$this->_tpl_vars['gs']['a1'])) ? $this->_run_mod_handler('cutstr', true, $_tmp, 190, '..') : smarty_modifier_cutstr($_tmp, 190, '..')); ?>
</td>
          </tr>
          <tr>
            <td align="right" style="text-indent:23px; line-height:1.8em; padding:0 5px;">.............................&nbsp;&nbsp;<a href="web_company.php?wid=<?php echo $_GET['wid']; ?>
" style="color:#F00; ">更多>></a></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td colspan="2" align="left" valign="bottom" style="font-size:14px; font-weight:bold; padding:0 0 0 10px; color:#F00; border-bottom:solid 1px #CCC; ">出版社相关信息</td>
      </tr>
      <tr>
        <td height="80" colspan="2" valign="top" style="padding-left:10px;"><ul id="hdgg">
                <?php $_from = $this->_tpl_vars['ns1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['rs']):
?>
          <li <?php if ($this->_tpl_vars['rs']['index'] > 0): ?> class="gray"<?php endif; ?>><img src="skins/stlye/images/0<?php echo $this->_tpl_vars['rs']['index']+1; ?>
.jpg" /><a href="news_show.php?id=<?php echo $this->_tpl_vars['rs']['id']; ?>
" target="_blank"><?php echo ((is_array($_tmp=$this->_tpl_vars['rs']['topicname'])) ? $this->_run_mod_handler('cutstr', true, $_tmp, 223) : smarty_modifier_cutstr($_tmp, 223)); ?>
</a>&nbsp;&nbsp;<span style="color:#666"><?php echo $this->_tpl_vars['rs']['creattime']; ?>
</span></li>
                <?php endforeach; endif; unset($_from); ?>   
                  </ul>
      </tr>
    </table></td>
    <td width="3" align="left" valign="top"></td>
    <td width="220" align="left" valign="top" style="border:solid 1px #CCC;"><table width="100%" border="0" cellspacing="0" cellpadding="0"  > 
      <tr>
        <td background="skins/stlye/images/bdsjtp_03.jpg" height="27" style="font-size:14px; font-weight:bold; padding-left:10px;">本社信息</td>
      </tr>
      <tr>
        <td  valign="top" style=" padding:0 3px; text-indent:23px;" ><?php echo ((is_array($_tmp=$this->_tpl_vars['gs']['a4'])) ? $this->_run_mod_handler('cutstr', true, $_tmp, 200, '..') : smarty_modifier_cutstr($_tmp, 200, '..')); ?>
</td>
      </tr>
      
    </table></td>
  </tr>
</table>
<table width="1004" border="0" align="center" cellpadding="0" cellspacing="0" style=" margin-top:3px;">
  <tr>
    <td width="220" align="left" valign="top" style="border:solid 1px #CCC;"><table width="100%" border="0" cellspacing="0" cellpadding="0"  > 
      <tr>
        <td background="skins/stlye/images/bdsjtp_03.jpg" height="27" style="font-size:14px; font-weight:bold; padding-left:10px;">重点推荐</td>
      </tr>
      <tr>
        <td align="center" valign="top" style=" padding-top:5px;" ><a href="book_show.php?id=<?php echo $this->_tpl_vars['ptj']['id']; ?>
"><img src="<?php echo ((is_array($_tmp=$this->_tpl_vars['ptj']['pic'])) ? $this->_run_mod_handler('showpic', true, $_tmp, 1) : smarty_modifier_showpic($_tmp, 1)); ?>
" width="136" height="140"  style="border:solid 1px #CCC;"/></a></td>
      </tr>
       <tr>
        <td  valign="top"  style="font-weight:bold; padding-left:10px;" ><a href="book_show.php?id=<?php echo $this->_tpl_vars['ptj']['id']; ?>
"><?php echo $this->_tpl_vars['ptj']['topicname']; ?>
</a></td>
      </tr>
      <tr>
        <td height="120" align="left" valign="top" style="text-indent:23px; padding:0 2px;"><?php echo ((is_array($_tmp=$this->_tpl_vars['ptj']['jianjie'])) ? $this->_run_mod_handler('cutstr', true, $_tmp, 86, '..') : smarty_modifier_cutstr($_tmp, 86, '..')); ?>
 &nbsp;&nbsp;&nbsp;&nbsp;
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td align="right">&nbsp;&nbsp;<a href="web_pcontent.php?wid=<?php echo $_GET['wid']; ?>
" style="color:#F00;">更多&gt;&gt;</a></td>
              </tr>
          </table></td>
      </tr>
    </table></td>
    <td width="3">&nbsp;</td>
    <td width="552" align="left" valign="top" style="border:solid 1px #CCC;"><table width="100%" border="0" cellspacing="0" cellpadding="0"  > 
      <tr>
        <td background="skins/stlye/images/bdsjtp_03.jpg" height="27" style="font-size:14px; font-weight:bold; padding-left:10px;">热门资源</td>
      </tr>
      <tr>
        <td align="left" valign="top" style=" padding-top:5px; padding:10px 30px 10px 30px;" ><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['proi2']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
          <?php if ($this->_sections['i']['rownum']%4 == 1): ?>
            <tr>
            <?php endif; ?>
              <td valign="middle"><table width="100" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="21%" align="center" s="s"><div style="border:0px solid #ccc"><a href="<?php echo ((is_array($_tmp='book_show')) ? $this->_run_mod_handler('urlpro', true, $_tmp, $this->_tpl_vars['proi2'][$this->_sections['i']['index']]['id'], $this->_tpl_vars['proi2'][$this->_sections['i']['index']]['rootid']) : smarty_modifier_urlpro($_tmp, $this->_tpl_vars['proi2'][$this->_sections['i']['index']]['id'], $this->_tpl_vars['proi2'][$this->_sections['i']['index']]['rootid'])); ?>
"><img src="<?php echo ((is_array($_tmp=$this->_tpl_vars['proi2'][$this->_sections['i']['index']]['pic'])) ? $this->_run_mod_handler('showpic', true, $_tmp) : smarty_modifier_showpic($_tmp)); ?>
" width="81" height="105" style=" border:solid 1px #CCC; padding:3px;" title='<?php echo $this->_tpl_vars['proi2'][$this->_sections['i']['index']]['topicname']; ?>
' /></a></div></td>
                </tr>
                <tr>
                  <td height="36" align="center"><a href="<?php echo ((is_array($_tmp='book_show')) ? $this->_run_mod_handler('urlpro', true, $_tmp, $this->_tpl_vars['proi2'][$this->_sections['i']['index']]['id'], $this->_tpl_vars['proi2'][$this->_sections['i']['index']]['rootid']) : smarty_modifier_urlpro($_tmp, $this->_tpl_vars['proi2'][$this->_sections['i']['index']]['id'], $this->_tpl_vars['proi2'][$this->_sections['i']['index']]['rootid'])); ?>
" target="_blank"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['proi2'][$this->_sections['i']['index']]['topicname'])) ? $this->_run_mod_handler('cutstr', true, $_tmp, 6) : smarty_modifier_cutstr($_tmp, 6)))) ? $this->_run_mod_handler('getcolorw', true, $_tmp, $this->_tpl_vars['proi2'][$this->_sections['i']['index']]['colorstr'], $this->_tpl_vars['proi2'][$this->_sections['i']['index']]['weightstr']) : smarty_modifier_getcolorw($_tmp, $this->_tpl_vars['proi2'][$this->_sections['i']['index']]['colorstr'], $this->_tpl_vars['proi2'][$this->_sections['i']['index']]['weightstr'])); ?>
 </a></td>
                </tr>
                <tr>
                  <td align="center" height="5"></td>
                </tr>
              </table></td>
                  <?php if ($this->_sections['i']['rownum']%4 == 0): ?>
            </tr>
            <?php endif; ?><?php endfor; endif; ?>
          </table></td>
      </tr>
    </table></td>
    <td width="3">&nbsp;</td>
    <td width="222" rowspan="2" align="left" valign="top" ><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td align="left" valign="top" style="border:solid 1px #CCC;"><table width="100%" border="0" cellspacing="0" cellpadding="0"  >
          <tr>
            <td background="skins/stlye/images/bdsjtp_03.jpg" height="27" style="font-size:14px; font-weight:bold; padding-left:10px;">主编介绍</td>
          </tr>
          <tr>
            <td align="center" valign="top" style=" padding-top:5px;" ><img src="uploadfile/company/<?php echo ((is_array($_tmp=$this->_tpl_vars['gs']['pic3'])) ? $this->_run_mod_handler('showcpic', true, $_tmp) : smarty_modifier_showcpic($_tmp)); ?>
" width="183" height="140"  style="border:solid 1px #CCC;"/></td>
          </tr>
          <tr>
            <td height="157" align="left" valign="top" style="text-indent:23px; padding:0 2px;"><?php echo ((is_array($_tmp=$this->_tpl_vars['gs']['a3'])) ? $this->_run_mod_handler('cutstr', true, $_tmp, 86, '..') : smarty_modifier_cutstr($_tmp, 86, '..')); ?>
 </td>
          </tr>
          <tr>
            <td align="right" valign="top" style="text-indent:23px; padding:0 2px;"><a href="web_zb.php?wid=<?php echo $_GET['wid']; ?>
" style="color:#F00;">更多&gt;&gt;</a></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="3"></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td colspan="4" height="3"></td>
  </tr>
</table>
<table width="1004" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:3px;">
  <tr>
    <td width="779" align="left" valign="top" style="border:solid 1px #CCC;"><table width="100%" border="0" cellspacing="0" cellpadding="0"  > 
      <tr>
        <td width="93%" height="27"  background="skins/stlye/images/bdsjtp_03.jpg" style="font-size:14px; font-weight:bold; padding-left:10px;">全部资源</td>
        <td width="7%"  background="skins/stlye/images/bdsjtp_03.jpg" style=" text-align:right; padding-right:10px;"><a href="web_pcontent.php?wid=<?php echo $_GET['wid']; ?>
" style="color:#a2a0a0">更多</a></td>
      </tr>
      <tr>
        <td height="27" colspan="2" align="left" valign="bottom"  style="padding:10px  20px 10px 20px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['proi1']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
          <?php if ($this->_sections['i']['rownum']%6 == 1): ?>
            <tr>
            <?php endif; ?>
              <td><table width="60" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="21%" align="center" s="s"><a href="<?php echo ((is_array($_tmp='book_show')) ? $this->_run_mod_handler('urlpro', true, $_tmp, $this->_tpl_vars['proi1'][$this->_sections['i']['index']]['id'], $this->_tpl_vars['proi1'][$this->_sections['i']['index']]['rootid']) : smarty_modifier_urlpro($_tmp, $this->_tpl_vars['proi1'][$this->_sections['i']['index']]['id'], $this->_tpl_vars['proi1'][$this->_sections['i']['index']]['rootid'])); ?>
"><img src="<?php echo ((is_array($_tmp=$this->_tpl_vars['proi1'][$this->_sections['i']['index']]['pic'])) ? $this->_run_mod_handler('showpic', true, $_tmp) : smarty_modifier_showpic($_tmp)); ?>
" width="94" height="124" style=" border:solid 1px #CCC; padding:3px;" title='<?php echo $this->_tpl_vars['proi1'][$this->_sections['i']['index']]['topicname']; ?>
' /></a></td>
                </tr>
                <tr>
                  <td height="30" align="center"><a href="<?php echo ((is_array($_tmp='book_show')) ? $this->_run_mod_handler('urlpro', true, $_tmp, $this->_tpl_vars['proi1'][$this->_sections['i']['index']]['id'], $this->_tpl_vars['proi1'][$this->_sections['i']['index']]['rootid']) : smarty_modifier_urlpro($_tmp, $this->_tpl_vars['proi1'][$this->_sections['i']['index']]['id'], $this->_tpl_vars['proi1'][$this->_sections['i']['index']]['rootid'])); ?>
" target="_blank"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['proi1'][$this->_sections['i']['index']]['topicname'])) ? $this->_run_mod_handler('cutstr', true, $_tmp, 6) : smarty_modifier_cutstr($_tmp, 6)))) ? $this->_run_mod_handler('getcolorw', true, $_tmp, $this->_tpl_vars['proi1'][$this->_sections['i']['index']]['colorstr'], $this->_tpl_vars['proi1'][$this->_sections['i']['index']]['weightstr']) : smarty_modifier_getcolorw($_tmp, $this->_tpl_vars['proi1'][$this->_sections['i']['index']]['colorstr'], $this->_tpl_vars['proi1'][$this->_sections['i']['index']]['weightstr'])); ?>
</a></td>
                </tr>
          
              </table></td>
                  <?php if ($this->_sections['i']['rownum']%6 == 0): ?>
            </tr>
            <?php endif; ?><?php endfor; endif; ?>
          </table></td>
      </tr>
        </table></td>
    <td width="3">&nbsp;</td>
    <td width="220" align="left" valign="top" style="border:solid 1px #CCC;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="29" valign="bottom" background="skins/stlye/images/bbj_04.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="12">&nbsp;</td>
                <td width="90" align="center" style="font-size:14px;"><strong>推荐榜</strong></td>
                <td>&nbsp;</td>
              </tr>
            </table></td>
        </tr>
        <tr>
          <td colspan="8" style="padding" ><?php $_from = $this->_tpl_vars['tj1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['rs']):
?><?php if ($this->_tpl_vars['rs']['index'] < 3): ?>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
             <td width="89%" valign="middle" style=" padding-left:5px; font-weight:bold"><img src="skins/stlye/images/0<?php echo $this->_tpl_vars['rs']['index']+1; ?>
.jpg" align="absmiddle" /><a href="book_show.php?id=<?php echo $this->_tpl_vars['rs']['id']; ?>
" target="_blank">&nbsp;<?php echo ((is_array($_tmp=$this->_tpl_vars['rs']['topicname'])) ? $this->_run_mod_handler('cutstr', true, $_tmp, 13) : smarty_modifier_cutstr($_tmp, 13)); ?>
</a>
               
             </tr>
            <tr>
              <td ><table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="35%" align="center"  style="padding:5px 0;"><img src="<?php echo ((is_array($_tmp=$this->_tpl_vars['rs']['pic'])) ? $this->_run_mod_handler('showpic', true, $_tmp) : smarty_modifier_showpic($_tmp)); ?>
" width="58" height="80" style="border:solid 1px #CCC; padding:2px;" /></td>
    <td width="65%" align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td style="">名称：<?php echo ((is_array($_tmp=$this->_tpl_vars['rs']['topicname'])) ? $this->_run_mod_handler('cutstr', true, $_tmp, 13) : smarty_modifier_cutstr($_tmp, 13)); ?>
</td>
      </tr>
       <tr>
        <td>作者：<?php echo ((is_array($_tmp=$this->_tpl_vars['rs']['a1'])) ? $this->_run_mod_handler('cutstr', true, $_tmp, 13) : smarty_modifier_cutstr($_tmp, 13)); ?>
</td>
      </tr>
      <tr>
        <td>出版社：<?php echo ((is_array($_tmp=$this->_tpl_vars['rs']['a2'])) ? $this->_run_mod_handler('cutstr', true, $_tmp, 13) : smarty_modifier_cutstr($_tmp, 13)); ?>
</td>
      </tr>
      <tr>
        <td>价格：<span style="color:#C60"><?php echo ((is_array($_tmp=$this->_tpl_vars['rs']['price_m'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 2) : number_format($_tmp, 2)); ?>
 </span> Z币</td>
      </tr>
     
    </table></td>
    </tr>
</table></td>
              </tr>
          </table><?php else: ?><table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="89%" style=" padding-left:5px;"><img src="skins/stlye/images/0<?php echo $this->_tpl_vars['rs']['index']+1; ?>
.jpg" /><a href="book_show.php?id=<?php echo $this->_tpl_vars['rs']['id']; ?>
" target="_blank">&nbsp;<?php echo ((is_array($_tmp=$this->_tpl_vars['rs']['topicname'])) ? $this->_run_mod_handler('cutstr', true, $_tmp, 13) : smarty_modifier_cutstr($_tmp, 13)); ?>
</a></td>
  </tr>
</table><?php endif; ?><?php endforeach; endif; unset($_from); ?></td>
        </tr>
    </table></td>
  </tr>
        <tr>
</table>
<table width="1004" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:3px;">
  <tr>
    <td width="777" align="left" valign="top" style="border:solid 1px #CCC;"><table width="100%" border="0" cellspacing="0" cellpadding="0"  > 
       <tr>
        <td width="93%" height="27"  background="skins/stlye/images/bdsjtp_03.jpg" style="font-size:14px; font-weight:bold; padding-left:10px;">出版社照片</td>
        <td width="7%"  background="skins/stlye/images/bdsjtp_03.jpg" style=" text-align:right; padding-right:10px;"><a href="web_pic.php?wid=<?php echo $_GET['wid']; ?>
" style="color:#a2a0a0">更多</a></td>
      </tr>
      <tr>
        <td colspan="3" valign="middle" style=" " ><table width="" border="0" cellspacing="0" cellpadding="0">
          <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['imgp']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
          <?php if ($this->_sections['i']['rownum']%6 == 1): ?>
            <tr>
            <?php endif; ?>
              <td align="left" valign="top"><table width="100" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="21%" align="center"  ><img src="<?php echo $this->_tpl_vars['imgp'][$this->_sections['i']['index']]['spic']; ?>
" width="125" height="105" /></td>
                </tr>
                <tr>
                  <td align="center" height="5"></td>
                </tr>
          </table></td>
                  <?php if ($this->_sections['i']['rownum']%6 == 0): ?>
            </tr>
            <?php endif; ?><?php endfor; endif; ?>
          </table></td>
      </tr>
     
     
        </table></td>
    <td width="3"></td>
    <td width="220" align="left" valign="top" style="border:solid 1px #CCC;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="29" valign="bottom" background="skins/stlye/images/bbj_04.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="12">&nbsp;</td>
                <td width="90" align="center" style="font-size:14px;"><strong>下载排行榜</strong></td>
                <td>&nbsp;</td>
              </tr>
            </table></td>
        </tr>
        <tr>
          <td colspan="8" align="left" valign="top" style="padding:5px 3px 0 3px ;" ><ul id="xinxi">
          <?php $_from = $this->_tpl_vars['dl1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['rs']):
?>
              <li <?php if ($this->_tpl_vars['rs']['index'] > 2): ?> class="gray"<?php endif; ?>><img src="skins/stlye/images/0<?php echo $this->_tpl_vars['rs']['index']+1; ?>
.jpg" /><a href="book_show.php?id=<?php echo $this->_tpl_vars['rs']['id']; ?>
" target="_blank"><?php echo ((is_array($_tmp=$this->_tpl_vars['rs']['topicname'])) ? $this->_run_mod_handler('cutstr', true, $_tmp, 13) : smarty_modifier_cutstr($_tmp, 13)); ?>
</a></li>
          <?php endforeach; endif; unset($_from); ?>
            </ul></td>
        </tr>
      </table></td>
  </tr>
</table>
<table width="1004" border="0" align="center" cellpadding="0" cellspacing="0" style=" margin-top:3px;">
  <tr>
    <td width="30" height="95" align="left" valign="top" ><img src="skins/stlye/images/hezuob_02.jpg" /></td>
    <td width="969" height="95" align="left" valign="top" background="skins/stlye/images/hezuob_04.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="98%" height="30" align="right" style="padding-right:15px;"><a href="friend.php" style="color:#a2a0a0">更多</a></td>
        </tr>
      <tr>
        <td height="15"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['imgad']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
          <?php if ($this->_sections['i']['rownum']%9 == 1): ?>
            <tr>
            <?php endif; ?>
              <td valign="middle"><table width="100" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="21%" align="center"  ><a href="<?php echo $this->_tpl_vars['imgad'][$this->_sections['i']['index']]['a1']; ?>
" title="<?php echo $this->_tpl_vars['imgad'][$this->_sections['i']['index']]['content']; ?>
"><img src="<?php echo $this->_tpl_vars['imgad'][$this->_sections['i']['index']]['x_value']; ?>
" width="89" height="30" /></a></td>
                </tr>
                <tr>
                  <td align="center" height="5"></td>
                </tr>
          </table></td>
                  <?php if ($this->_sections['i']['rownum']%9 == 0): ?>
            </tr>
            <?php endif; ?><?php endfor; endif; ?>
          </table></td>
      </tr>
    </table></td>
    <td width="4" height="95" background="skins/stlye/images/hezuob_06.jpg">&nbsp;</td>
  </tr>
</table>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "foot_inc.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
</body>
</html>